package com.example.entity;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * TODO
 * 角色信息实体
 * @Comment：最难的一次作业
 * @Date: 2023/11/19
 */
@Data
public class SysRole {
    //主键
    @ApiModelProperty(value = "主键")
    private Long id;

    //标签描述
    @ApiModelProperty(value = "角色标签")
    private String label;

    //标签值
    @ApiModelProperty(value = "角色值")
    private String code;

    @ApiModelProperty(value = "显示状态(0不显示、1显示)")
    private boolean status;


    @ApiModelProperty(value = "菜单列表")
    private List<SysMenu> menus;

    @ApiModelProperty(value = "权限列表")
    private List<SysPermission> permissions;
}
